//
//  LoginViewController.h
//  DailyGram
//
//  Created by TiOluwa Olarewaju on 9/1/12.
//  Copyright (c) 2012 MT. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SignUpViewController.h"

@protocol LoginViewDelegate <NSObject>

@optional
- (void)didLogin:(id)sender;


@end

@interface LoginViewController : UIViewController{
    
}
- (IBAction)loginUser:(id)sender;
- (IBAction)signUpUser:(id)sender;
- (IBAction)forgotPassword:(id)sender;


-(void)loginWithUsername:(NSString*)user andPassword:(NSString*)pass;

@property (strong, nonatomic) IBOutlet UITextField *username;
@property (strong, nonatomic) IBOutlet UITextField *password;

@property (nonatomic, weak) id<LoginViewDelegate> delegate;



@end
